/* 
* @Author: anchen
* @Date:   2017-12-11 11:17:35
* @Last Modified by:   anchen
* @Last Modified time: 2018-03-16 12:34:48
*/
@font-face {
  font-family: "MyriadPro-Regular";
  src: url("../fonts/MyriadPro-Regular.woff2") format("woff2"),
       url("../fonts/MyriadPro-Regular.woff") format("woff"),
       url("../fonts/MyriadPro-Regular.ttf") format("truetype"),
       url("../fonts/MyriadPro-Regular.eot") format("embedded-opentype"),
       url("../fonts/MyriadPro-Regular.svg") format("svg");
}

html, 
body {
    width: 100%;
    height: auto;
    font-family: "MyriadPro-Regular";
    color: #333333;
   }
/* 第一页首页 HOME*/
.home{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.home-header{
    width: 100%;
    height: 1.4rem;
    background: #333333;
    position: relative;
    top: 0;
    left: 0;
}
.home-header>img[alt="v-logo"]{
    width: 1rem;
    height: 0.9rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin:-0.45rem 0 0 -0.6rem;
}
/**
 * 导航栏
 */
.home-header>ul{
    width: 1.5rem;
    height: 0.3rem;
    position: absolute;
    right: 40%;
    top: 50%;
    margin: -0.15rem -2.3rem 0 0;
    display: flex;
    justify-content: space-between;
}
.home-header>ul li{
    float: left;
    font-size: 0.16rem;
    text-align: center; 
    line-height: 0.3rem; 
    /* font-family: arial; */
   
   }
.home-header>ul li>a{
    display: inline-block;
    width: 100%;
    color: #ffffff;
    position: relative;
}
/**
 * 导航栏hover样式
 */
.home-header>ul li>a:after {
    content: "";
    position: absolute;
    border-bottom: 0.02rem solid #33cccc;
    right: -40%;
    bottom: 0.01rem;
    width: 0;
    height: 0;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.home-header>ul li>a:before {
    content: "";
    position: absolute;
    border-top: 0.02rem solid #33cccc;
    left: 0%;
    top: 0.01rem;
    width: 0;
    height: 0;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.home-header>ul li>a:hover:before,
.home-header>ul li>a:hover:after {
    width: 45%;
}
.home-header .active:after {
    content: "";
    position: absolute;
    border-bottom: 0.02rem solid #33cccc;
    right: -40%;
    bottom: 0.01rem;
    width: 45%;
    height: 0;
   
}
.home-header .active:before{
    content: "";
    position: absolute;
    border-top: 0.02rem solid #33cccc;
    left: 0%;
    top: 0.01rem;
    width: 45%;
    height: 0;
}
/**
 * HOME图片
 */
.home>img[alt="HOME-bg"]{
    width: 100%;
    height: 6rem; 
}



/*第二页about页面*/
.about{
    width: 100%;
    height: 7rem;
    padding: 0.2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

}
.about-logo-box img[alt="LOGO"]{
    width: 1.44rem;
    height: 1.62rem;
   position: absolute;
   left: 50%;
   margin-left: -0.74rem;
    
}
.about-logo-box{
    margin:0 auto;
    position: relative;
    width: 2.98rem;
    height: 1.62rem;
}
.logo-info{
    position: absolute;
    top: 0.4rem;
    right: 0;
    height: 0.5rem;
    font-size: 0.16rem;
    color: #333333;
}
.line{
    margin-top: 0.05rem;
    width: 0.25rem;
    height: 0.02rem;
    background-color: #2ecdc7;
}
.about-Eg-msg p:first-child{
    font-size: 0.3rem;
    letter-spacing: 0.15rem;
    font-weight: bolder;
}
.about-Eg-msg p:last-child{
    font-size: 0.16rem;
    margin-top: 0.12rem;
    text-align: center;
}
.about-Ch-msg p{
    color: #333333;
    font-size: 0.2rem;
    text-align: center;
    padding: 0.05rem 0;
}
.about>button{
    padding: 0.16rem 0.47rem;
    border:0.01rem solid #333333;
    text-align: center;
    background: transparent;
}
.about>button>a{
    display: block;
    padding: 0.2rem 0.6rem;
    font-weight: bold;
    cursor: pointer;
    color: black;
    font-size: 0.18rem;
}

/*第三页MYWORK页面*/
.work{
    width: 100%;
    padding: 1rem 0 2.3rem 0;
}
.title{
    position: relative;
    width: 4.6rem;
    height: 0.75rem;
    margin:0 auto;
}
/**
 * 标题上下两border
 */
.title:before{
    content: "";
    position: absolute;
    border-top: 0.02rem solid #cccccc;
    left: 0%;
    top: -0.1rem;
    width: 1.05rem;
    height: 0.1rem;
}
.title:after{
    content: "";
    position: absolute;
    border-bottom: 0.02rem solid #cccccc;
    right: 0%;
    bottom: -0.01rem;
    width: 0.8rem;
    height: 0.1rem;
}
.title p{
    font-size: 0.16rem;
    text-align: center;
    padding: 0.05rem 0;
}
.title p:first-child{
    font-size: 0.3rem;
    letter-spacing: 0.1rem;
    font-weight: bolder;
}
.work-msg{
    width: 8.5rem;
    height: auto;  
    margin: 0 auto;
    padding: 0.9rem 0;
}
.work-msg>p{
    word-wrap:break-word;  
    word-break:break-all; 
    font-size: 0.22rem;
    line-height: 0.4rem;
}
/*
作品集
 */
.work-works{
    width: 8rem;
    height: 4.7rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}
/*图片hover*/

.img-content {
    position: relative;
    overflow: hidden;
    width: 2.2rem;
    height: 2.1rem;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),0 6px 20px rgba(0, 0, 0, 0.1);
}
.img-content>img {
    width: 2.2rem;
    height: 2.1rem;
}
.img-msg {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}
.img-msg a {
    display: block;
    position: relative;
    transition: opacity .25s ease-in-out, background .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out, background .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out, background .25s ease-in-out;
    font-size: 0.14rem;
    z-index: 1;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    width: 2.2rem;
    height: 2.1rem;
    line-height: 2.1rem;
    text-align: center;
}
.img-msg a:hover {
    opacity: 0.9;
    color: #fff;
    background: rgba(81, 144, 109, 0.8);
}
/*第四页articles页面*/
.articles{
    width: 100%;
    height: 10.5rem;
    background-color:#333333;
    padding: 0.9rem 0;
    position: relative;
}
.articles .title{
    color: white;
}
img[alt="article-bg"]{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height:9.91rem;
}
.filter{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 9.91rem;
    background: black;
    display: block;
    filter:alpha(opacity=50);
    opacity:0.5;


}
.articles>p{
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 35%;
    margin-left: -30%;
    font-size: 0.58rem;
    color: white;
    letter-spacing: 0.2rem;
}
/*轮播*/
.swiper-container{
    width: 80%;
    height: 3.6rem;
    top: 47%;
}
.swiper-wrapper .swiper-slide{
   display: flex;
    flex-direction: column;
    align-items: center;
}
.articles .swiper-button-prev{
    position: absolute;
    top: 60%;
    left: 0.7rem;
    color: white;
    background: url(../images/pre.png) no-repeat;
    background-size: 100% 100%;
   
}
.articles .swiper-button-next{
    position: absolute;
    top: 60%;
    right: 0.7rem;
    background: url(../images/next.png) no-repeat;
    background-size: 100% 100%;
}
.swiper-wrapper .swiper-slide>p{
    font-size: 0.25rem;
    color: white;
    margin-top: 0.2rem;
    width: 3rem;
    

}
.swiper-wrapper .swiper-slide>img{
    width: 3.8rem;
    height: 2.1rem;
    border-radius: 0.1rem;

}
/*第四页footer*/
.footer{
    width: 100%;
    height: 11.5rem;
    background: white;
    position: relative;
    background: url(../images/footPic.png) bottom right no-repeat;
    background-size: 90% 40%;
}
.footer>img{
    position: relative;
    top: 1.4rem;
    left: 50%;
    margin-left: -2.5rem;
    width: 4.6rem;
    height: 4.56rem;

}
.footer>p{
    font-size: 0.16rem;
    text-align: center;
    margin-top: 2rem;
}
.footer-msg-box{
    width: 100%;
    height: 1.17rem;
    background: rgba(0,0,0,0.4);
    position: absolute;
    bottom: 0;
    z-index: 1;
    font-size: 0.15rem;
    color: white;
}
.footer-msg-top{
    width: 65%;
    margin:0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
}
.footer-msg {
    display: flex;
    align-items: flex-start;

}

.msg-figure {
    margin-right: 0.24rem;
    margin-top: 0.12rem;
}

.msg-body {
    flex: 1;

}
.footer-msg-box>p{
    text-align: center;
    margin-top: 0.25rem;
    letter-spacing: 0.01rem;
}
.footer-msg-box>p>span{
    color:#33cccc;
    padding-right: 0.1rem;
}
